function invokeBean(){
    if(confirm("确定要执行吗？")){
        var paras={
            "beanID":document.getElementById("beanID").value,
            "methodName":document.getElementById("methodName").value,
            "para1":document.getElementById("para1").value,
            "para2":document.getElementById("para2").value,
            "para3":document.getElementById("para3").value,
            "para4":document.getElementById("para4").value
        }
        $.ajax({
            type:"post",
            dataType:"json",
            url:top.tophead.ctxpath+"/sample/BeanTestCtrl!invokeBean.do",
            data:paras,
            success:function(result){
                alert(result.seqId+" , "+result.resObj);
            }});
    }
}
function page2img(){
    $.ajax({
        type:"post",
        dataType:"json",
        url:top.tophead.ctxpath+"/sample/BeanTestCtrl!page2img.do",
        success:function(result){
            alert(result.seqId+" , "+result.resObj);
        }});
}